package org.ch03.test07;

import java.util.Arrays;

/**
 * @author ZJL
 * @date 2025-03-27
 */
public class MainTest01 {
    public static void main(String[] args) {
        String[] arr = {"AA", "BB", "CC"};

        String[] newArr = new String[arr.length * 2];
        System.arraycopy(arr, 0, newArr, 0, arr.length);
        System.out.println(Arrays.toString(newArr));
    }
}
